package com.wxq.auth.exception;

import lombok.Data;

/**
 * @author Jim
 * @date 7:35 下午 2022/4/10
 * @description 短信异常
 * @email:huwmz04153277@126.com
 */
@Data
public class AuthBizException extends RuntimeException{
    private String message;
    private int code;

    public AuthBizException() {
    }

    public AuthBizException(String message, int code) {
        super(message);
        this.message = message;
        this.code = code;
    }

    public AuthBizException(String message) {
        super(message);
    }

    public AuthBizException(String message, Throwable cause) {
        super(message, cause);
    }
}
